/**
 * 
 */
package com.icbc.cfsmgmt.timer;

import java.text.ParseException;

import com.alibaba.fastjson.JSONObject;
import com.icbc.cc.api.CallApi;
import com.icbc.cte.base.TranFailException;
import com.icbc.cte.logging.Log;
import com.icbc.cte.logging.LogFactory;
import com.icbc.ctp.core.IContext;
import com.icbc.ctp.core.impl.OperationStep;

/**
 * TODO 类的描述：。 
 * <pre>
 *
 * </pre>
 *
 * <pre>
 * modify by user on 2017-2-22
 *    fix->1.
 *         2.
 * </pre> 
 */
public class OrderRegistBatch extends OperationStep {
	private static Log log = LogFactory.getLog(OrderRegistBatch.class);
	/* (non-Javadoc)
	 * @see com.icbc.ctp.core.impl.OperationStep#execute(com.icbc.ctp.core.IContext)
	 */
	@Override
	protected int execute(IContext arg0) throws TranFailException {
		log.info("开始执行任务..."); // 开始定时任务
		JSONObject paramJson=new JSONObject();
		 String result="";
		result = CallApi.callGetRegistOrderListApi(paramJson.toString(),"3");
		 log.info("执行结果:"+result);

		 log.info("执行任务完成..."); // 任务完成
		return 0;
	}

}
